﻿using Sdari.Core.Exceptions;

namespace Sdari.Example.Business.Exceptions
{
    [Serializable]
    internal class BusinessObjectKeyValueNotSet<T> : SdariExceptionBase
    {
        public BusinessObjectKeyValueNotSet(params string[] keys) :
            base(0x10000002, $"未设置关键值【{string.Join(",", keys)}】, 无法从数据库加载【{typeof(T).Name}】的业务对象")
        { }
    }
}